package com.ruoyi.project.easyexcel.service.Impl;

import com.ruoyi.project.easyexcel.ExportExcelHeader;
import com.ruoyi.project.easyexcel.service.TloosService;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * @Author huyunqiang
 * @Description
 * @Date 2023/9/8 10:55
 **/
@Service
public class TloosImpl implements TloosService {

    @Override
    public void exportExcel(HttpServletResponse response) {
        try {
            ExportExcelHeader.exportJobLogExcel(response);
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
